home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hplj4000.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  35.8 KB  |  1,332 lines

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.109"
  3. *GPDFileName: "hplj4000.gpd"
  4. *Include: "StdNames.gpd"
  5. *Include: "ttfsub.gpd"
  6. *ModelName: "HP LaserJet 4000 Series PCL"
  7. *MasterUnits: PAIR(1200, 1200)
  8. *ResourceDLL: "pcl5eres.dll"
  9. *HelpFile: "hpcljx.hlp"
  10.  
  11. *Feature: RESDLL
  12. {
  13.     *Option: FontRes
  14.     {
  15.         *Name: "hpcfont.dll"
  16.     }
  17. }
  18. *PrinterType: PAGE
  19. *MaxCopies: 999
  20. *FontCartSlots: 3
  21. *PrintRate: 17
  22. *PrintRatePPM: 17
  23. *PrintRateUnit: PPM
  24.  
  25. *Feature: Orientation
  26. {
  27.     *rcNameID: =ORIENTATION_DISPLAY
  28.     *DefaultOption: PORTRAIT
  29.     *Option: PORTRAIT
  30.     {
  31.         *rcNameID: =PORTRAIT_DISPLAY
  32.         *Command: CmdSelect
  33.         {
  34.             *Order: DOC_SETUP.2
  35.             *NoPageEject?: TRUE
  36.             *Cmd: "<1B>&l0o1E"
  37.         }
  38.     }
  39.     *Option: LANDSCAPE_CC90
  40.     {
  41.         *rcNameID: =LANDSCAPE_DISPLAY
  42.         *Command: CmdSelect
  43.         {
  44.             *Order: DOC_SETUP.2
  45.             *NoPageEject?: TRUE
  46.             *Cmd: "<1B>&l1o1E"
  47.         }
  48.     }
  49. }
  50.  
  51. *Feature: InputBin{ *Option: Option1{} *Option: Option2{} *Option: Option3{} *Option: Option4{} *Option: Option6{} *Option: Option7{} *Option: ENVFEED{} }
  52.  
  53. *Feature: InputBin
  54. {
  55.     *rcNameID: =PAPER_SOURCE_DISPLAY
  56.     *DefaultOption: Option1
  57.     *Option: Option1
  58.     {
  59.         *rcNameID: 271
  60.         *Command: CmdSelect
  61.         {
  62.             *Order: DOC_SETUP.5
  63.             *Cmd: "<1B>&l7H"
  64.         }
  65.     }
  66.     *Option: Option2
  67.     {
  68.         *rcNameID: 276
  69.         *Command: CmdSelect
  70.         {
  71.             *Order: DOC_SETUP.5
  72.             *Cmd: "<1B>&l4H"
  73.         }
  74.     }
  75.     *Option: Option3
  76.     {
  77.         *rcNameID: 277
  78.         *Command: CmdSelect
  79.         {
  80.             *Order: DOC_SETUP.5
  81.             *Cmd: "<1B>&l1H"
  82.         }
  83.     }
  84.     *Option: Option4
  85.     {
  86.         *rcNameID: 410
  87.         *Command: CmdSelect
  88.         {
  89.             *Order: DOC_SETUP.5
  90.             *Cmd: "<1B>&l5H"
  91.         }
  92.     }
  93.     *Option: ENVFEED
  94.     {
  95.         *rcNameID: =ENV_FEED_DISPLAY
  96.         *Command: CmdSelect
  97.         {
  98.             *Order: DOC_SETUP.5
  99.             *Cmd: "<1B>&l6H"
  100.         }
  101.     }
  102.     *Option: Option6
  103.     {
  104.         *rcNameID: 428
  105.         *Command: CmdSelect
  106.         {
  107.             *Order: DOC_SETUP.5
  108.             *Cmd: "<1B>&l8H"
  109.         }
  110.     }
  111.     *Option: Option7
  112.     {
  113.         *rcNameID: 494
  114.         *Command: CmdSelect
  115.         {
  116.             *Order: DOC_SETUP.5
  117.             *Cmd: "<1B>&l2H"
  118.         }
  119.     }
  120. }
  121.  
  122. *Feature: TRAY3
  123. {
  124.     *rcNameID: 410
  125.     *HelpIndex: 12005
  126.     *FeatureType: PRINTER_PROPERTY
  127.     *DefaultOption: FALSE
  128.     *Option: FALSE
  129.     {
  130.         *rcNameID: 444
  131.     }
  132.     *Option: TRUE
  133.     {
  134.         *rcNameID: 443
  135.     }
  136. }
  137. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  138.  
  139. *Feature: TRAY4
  140. {
  141.     *rcNameID: 428
  142.     *HelpIndex: 12005
  143.     *FeatureType: PRINTER_PROPERTY
  144.     *DefaultOption: FALSE
  145.     *Option: FALSE
  146.     {
  147.         *rcNameID: 444
  148.     }
  149.     *Option: TRUE
  150.     {
  151.         *rcNameID: 443
  152.     }
  153. }
  154. *InvalidCombination: LIST(TRAY4.FALSE,InputBin.Option6)
  155.  
  156. *Feature: EnvFeeder
  157. {
  158.     *rcNameID: =ENV_FEED_DISPLAY
  159.     *HelpIndex: 12000
  160.     *FeatureType: PRINTER_PROPERTY
  161.     *DefaultOption: FALSE
  162.     *Option: FALSE
  163.     {
  164.         *rcNameID: 444
  165.     }
  166.     *Option: TRUE
  167.     {
  168.         *rcNameID: 443
  169.     }
  170. }
  171. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.ENVFEED)
  172.  
  173. *Feature: DuplexUnit
  174. {
  175.     *FeatureType: PRINTER_PROPERTY
  176.     *rcNameID: 429
  177.     *HelpIndex: 12004
  178.     *DefaultOption: Installed
  179.     *Option: NotInstalled
  180.     {
  181.         *rcNameID: 444
  182.         *DisabledFeatures: LIST(Duplex)
  183.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  184.     }
  185.  
  186.     *Option: Installed
  187.     {
  188.         *rcNameID: 443
  189.     }
  190. }
  191.  
  192. *% printer supports collation only if PrinterHardDisk installed
  193. *% (see CopyCmd and PrinterHardDisk)
  194. *Feature: Collate
  195. {
  196.     *rcNameID: 392 
  197.  
  198.     *DefaultOption: OFF
  199.     *Option: ON
  200.     {
  201.         *rcNameID: =ON_DISPLAY
  202.         *switch: PrinterHardDisk
  203.         {
  204.             *case: FALSE
  205.             {
  206.                 *Command: CmdSelect
  207.                 {
  208.                     *Order: JOB_SETUP.5
  209.                     *% Collate requested but no disk => printer collate disabled
  210.                     *% Print Processor will take care of collated copies
  211.                     *Cmd: ""
  212.                 }
  213.             }
  214.             *case: TRUE
  215.             {
  216.                 *Command: CmdSelect
  217.                 {
  218.                     *Order: JOB_SETUP.5
  219.                     *% Collate requested with disk => printer collate enabled
  220.                     *% Printer will take care of collated copies
  221.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  222.                 }
  223.             }
  224.         }
  225.     }
  226.     *Option: OFF
  227.     {
  228.         *rcNameID: =OFF_DISPLAY
  229.         *Command: CmdSelect
  230.         {
  231.             *Order: JOB_SETUP.5
  232.             *Cmd: ""
  233.         }
  234.     }
  235. }
  236.  
  237. *Feature: PrinterHardDisk
  238. {
  239.     *rcNameID: 430
  240.     *HelpIndex: 12002
  241.     *FeatureType: PRINTER_PROPERTY
  242.     *DefaultOption: FALSE
  243.     *Option: FALSE
  244.     {
  245.         *rcNameID: 444
  246.         *DisabledFeatures: LIST(Collate)
  247.     }
  248.     *Option: TRUE
  249.     {
  250.         *rcNameID: 443
  251.     }
  252. }
  253.  
  254. *Feature: Resolution
  255. {
  256.     *rcNameID: =RESOLUTION_DISPLAY
  257.     *DefaultOption: Option1
  258.     *Option: Option1
  259.     {
  260.  
  261.         *Name: "600 x 600 " =DOTS_PER_INCH
  262.         *DPI: PAIR(600, 600)
  263.         *TextDPI: PAIR(600, 600)
  264.         *MinStripBlankPixels: 32
  265.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  266.         *SpotDiameter: 100
  267.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  268.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  269.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  270.         *Command: CmdSelect
  271.         {
  272.             *Order: JOB_SETUP.6
  273.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  274.         }
  275.     }
  276.     *Option: Option2
  277.     {
  278.         *Name: "300 x 300 " =DOTS_PER_INCH
  279.         *DPI: PAIR(300, 300)
  280.         *TextDPI: PAIR(300, 300)
  281.         *MinStripBlankPixels: 32
  282.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  283.         *SpotDiameter: 100
  284.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  285.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  286.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  287.         *Command: CmdSelect
  288.         {
  289.             *Order: JOB_SETUP.6
  290.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  291.         }
  292.     }
  293. }
  294.  
  295. *BlockMacro: PaperConstraints
  296. {
  297.     *Constraints: LIST(InputBin.Option3,InputBin.Option4,InputBin.Option6)
  298. }
  299.  
  300. *Feature: PaperSize
  301. {
  302.     *rcNameID: =PAPER_SIZE_DISPLAY
  303.     *DefaultOption: LETTER
  304.     *Option: LETTER
  305.     {
  306.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  307.         *PageProtectMem: 4109
  308.         *Constraints: InputBin.ENVFEED
  309.         *switch: Orientation
  310.         {
  311.             *case: PORTRAIT
  312.             {
  313.                 *PrintableArea: PAIR(9600, 12800)
  314.                 *PrintableOrigin: PAIR(300, 200)
  315.                 *CursorOrigin: PAIR(300, 200)
  316.                 *Command: CmdSelect
  317.                 {
  318.                     *Order: DOC_SETUP.7
  319.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  320.                 }
  321.             }
  322.             *case: LANDSCAPE_CC90
  323.             {
  324.                 *PrintableArea: PAIR(9800, 12720)
  325.                 *PrintableOrigin: PAIR(200, 240)
  326.                 *CursorOrigin: PAIR(200, 12960)
  327.                 *Command: CmdSelect
  328.                 {
  329.                     *Order: DOC_SETUP.7
  330.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  331.                 }
  332.             }
  333.         }
  334.     }
  335.     *Option: LEGAL
  336.     {
  337.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  338.         *PageProtectMem: 5230
  339.         *Constraints: InputBin.ENVFEED
  340.         *switch: Orientation
  341.         {
  342.             *case: PORTRAIT
  343.             {
  344.                 *PrintableArea: PAIR(9600, 16400)
  345.                 *PrintableOrigin: PAIR(300, 200)
  346.                 *CursorOrigin: PAIR(300, 200)
  347.                 *Command: CmdSelect
  348.                 {
  349.                     *Order: DOC_SETUP.7
  350.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  351.                 }
  352.             }
  353.             *case: LANDSCAPE_CC90
  354.             {
  355.                 *PrintableArea: PAIR(9800, 16320)
  356.                 *PrintableOrigin: PAIR(200, 240)
  357.                 *CursorOrigin: PAIR(200, 16560)
  358.                 *Command: CmdSelect
  359.                 {
  360.                     *Order: DOC_SETUP.7
  361.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  362.                 }
  363.             }
  364.         }
  365.     }
  366.     *Option: EXECUTIVE
  367.     {
  368.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  369.         *Constraints: InputBin.ENVFEED
  370.         *PageProtectMem: 4109
  371.         *switch: Orientation
  372.         {
  373.             *case: PORTRAIT
  374.             {
  375.                 *PrintableArea: PAIR(8100, 12200)
  376.                 *PrintableOrigin: PAIR(300, 200)
  377.                 *CursorOrigin: PAIR(300, 200)
  378.                 *Command: CmdSelect
  379.                 {
  380.                     *Order: DOC_SETUP.7
  381.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  382.                 }
  383.             }
  384.             *case: LANDSCAPE_CC90
  385.             {
  386.                 *PrintableArea: PAIR(8300, 12120)
  387.                 *PrintableOrigin: PAIR(200, 240)
  388.                 *CursorOrigin: PAIR(200, 12360)
  389.                 *Command: CmdSelect
  390.                 {
  391.                     *Order: DOC_SETUP.7
  392.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  393.                 }
  394.             }
  395.         }
  396.     }
  397.     *Option: A4
  398.     {
  399.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  400.         *PageProtectMem: 4249
  401.         *Constraints: InputBin.ENVFEED
  402.         *switch: Orientation
  403.         {
  404.             *case: PORTRAIT
  405.             {
  406.                 *PrintableArea: PAIR(9352, 13630)
  407.                 *PrintableOrigin: PAIR(284, 200)
  408.                 *CursorOrigin: PAIR(284, 200)
  409.                 *Command: CmdSelect
  410.                 {
  411.                     *Order: DOC_SETUP.7
  412.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5611x8178Y"
  413.                 }
  414.             }
  415.             *case: LANDSCAPE_CC90
  416.             {
  417.                 *PrintableArea: PAIR(9520, 13558)
  418.                 *PrintableOrigin: PAIR(200, 236)
  419.                 *CursorOrigin: PAIR(200, 13794)
  420.                 *Command: CmdSelect
  421.                 {
  422.                     *Order: DOC_SETUP.7
  423.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8135x5712Y"
  424.                 }
  425.             }
  426.         }
  427.     }
  428.     *Option: A5
  429.     {
  430.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  431.         *Constraints: InputBin.ENVFEED
  432.         *PageProtectMem: 2125
  433.         *switch: Orientation
  434.         {
  435.             *case: PORTRAIT
  436.             {
  437.                 *PrintableArea: PAIR(6424, 9520)
  438.                 *PrintableOrigin: PAIR(284, 200)
  439.                 *CursorOrigin: PAIR(284, 200)
  440.                 *Command: CmdSelect
  441.                 {
  442.                     *Order: DOC_SETUP.7
  443.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t3854x5712Y"
  444.                 }
  445.             }
  446.             *case: LANDSCAPE_CC90
  447.             {
  448.                 *PrintableArea: PAIR(6592, 9448)
  449.                 *PrintableOrigin: PAIR(200, 236)
  450.                 *CursorOrigin: PAIR(200, 9684)
  451.                 *Command: CmdSelect
  452.                 {
  453.                     *Order: DOC_SETUP.7
  454.                     *Cmd: "<1B>&l25a8c1E<1B>*p0x0Y<1B>*c0t5669x3955Y"
  455.                 }
  456.             }
  457.         }
  458.     }
  459.     *Option: B5
  460.     {
  461.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  462.         *PageProtectMem: 3198
  463.         *Constraints: InputBin.ENVFEED
  464.         *switch: Orientation
  465.         {
  466.             *case: PORTRAIT
  467.             {
  468.                 *PrintableArea: PAIR(8030, 11740)
  469.                 *PrintableOrigin: PAIR(284, 200)
  470.                 *CursorOrigin: PAIR(284, 200)
  471.                 *Command: CmdSelect
  472.                 {
  473.                     *Order: DOC_SETUP.7
  474.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4818x7044Y"
  475.                 }
  476.             }
  477.             *case: LANDSCAPE_CC90
  478.             {
  479.                 *PrintableArea: PAIR(8198, 11668)
  480.                 *PrintableOrigin: PAIR(200, 236)
  481.                 *CursorOrigin: PAIR(200, 11904)
  482.                 *Command: CmdSelect
  483.                 {
  484.                     *Order: DOC_SETUP.7
  485.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7001x4919Y"
  486.                 }
  487.             }
  488.         }
  489.     }
  490.     *Option: ENV_10
  491.     {
  492.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  493.         *InsertBlock: =PaperConstraints
  494.         *PageProtectMem: 4109
  495.         *Constraints: Duplex.VERTICAL
  496.         *Constraints: Duplex.HORIZONTAL
  497.         *switch: Orientation
  498.         {
  499.             *case: PORTRAIT
  500.             {
  501.                 *PrintableArea: PAIR(4348, 11000)
  502.                 *PrintableOrigin: PAIR(300, 200)
  503.                 *CursorOrigin: PAIR(300, 200)
  504.                 *Command: CmdSelect
  505.                 {
  506.                     *Order: DOC_SETUP.7
  507.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  508.                 }
  509.             }
  510.             *case: LANDSCAPE_CC90
  511.             {
  512.                 *PrintableArea: PAIR(4548, 10920)
  513.                 *PrintableOrigin: PAIR(200, 240)
  514.                 *CursorOrigin: PAIR(200, 11160)
  515.                 *Command: CmdSelect
  516.                 {
  517.                     *Order: DOC_SETUP.7
  518.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  519.                 }
  520.             }
  521.         }
  522.     }
  523.     *Option: ENV_DL
  524.     {
  525.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  526.         *PageProtectMem: 4109
  527.         *InsertBlock: =PaperConstraints
  528.         *Constraints: Duplex.VERTICAL
  529.         *Constraints: Duplex.HORIZONTAL
  530.         *switch: Orientation
  531.         {
  532.             *case: PORTRAIT
  533.             {
  534.                 *PrintableArea: PAIR(4628, 9992)
  535.                 *PrintableOrigin: PAIR(284, 200)
  536.                 *CursorOrigin: PAIR(284, 200)
  537.                 *Command: CmdSelect
  538.                 {
  539.                     *Order: DOC_SETUP.7
  540.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y"
  541.                 }
  542.             }
  543.             *case: LANDSCAPE_CC90
  544.             {
  545.                 *PrintableArea: PAIR(4796, 9920)
  546.                 *PrintableOrigin: PAIR(200, 236)
  547.                 *CursorOrigin: PAIR(200, 10156)
  548.                 *Command: CmdSelect
  549.                 {
  550.                     *Order: DOC_SETUP.7
  551.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
  552.                 }
  553.             }
  554.         }
  555.     }
  556.     *Option: ENV_C5
  557.     {
  558.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  559.         *PageProtectMem: 4109
  560.         *InsertBlock: =PaperConstraints
  561.         *Constraints: Duplex.VERTICAL
  562.         *Constraints: Duplex.HORIZONTAL
  563.         *switch: Orientation
  564.         {
  565.             *case: PORTRAIT
  566.             {
  567.                 *PrintableArea: PAIR(7084, 10418)
  568.                 *PrintableOrigin: PAIR(284, 200)
  569.                 *CursorOrigin: PAIR(284, 200)
  570.                 *Command: CmdSelect
  571.                 {
  572.                     *Order: DOC_SETUP.7
  573.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6251Y"
  574.                 }
  575.             }
  576.             *case: LANDSCAPE_CC90
  577.             {
  578.                 *PrintableArea: PAIR(7252, 10346)
  579.                 *PrintableOrigin: PAIR(200, 236)
  580.                 *CursorOrigin: PAIR(200, 10582)
  581.                 *Command: CmdSelect
  582.                 {
  583.                     *Order: DOC_SETUP.7
  584.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6208x4351Y"
  585.                 }
  586.             }
  587.         }
  588.     }
  589.     *Option: ENV_MONARCH
  590.     {
  591.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  592.         *PageProtectMem: 4109
  593.         *InsertBlock: =PaperConstraints
  594.         *Constraints: Duplex.VERTICAL
  595.         *Constraints: Duplex.HORIZONTAL
  596.         *switch: Orientation
  597.         {
  598.             *case: PORTRAIT
  599.             {
  600.                 *PrintableArea: PAIR(4048, 8600)
  601.                 *PrintableOrigin: PAIR(300, 200)
  602.                 *CursorOrigin: PAIR(300, 200)
  603.                 *Command: CmdSelect
  604.                 {
  605.                     *Order: DOC_SETUP.7
  606.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
  607.                 }
  608.             }
  609.             *case: LANDSCAPE_CC90
  610.             {
  611.                 *PrintableArea: PAIR(4248, 8520)
  612.                 *PrintableOrigin: PAIR(200, 240)
  613.                 *CursorOrigin: PAIR(200, 8760)
  614.                 *Command: CmdSelect
  615.                 {
  616.                     *Order: DOC_SETUP.7
  617.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y"
  618.                 }
  619.             }
  620.         }
  621.     }
  622.     *Option: ENV_B5
  623.     {
  624.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  625.         *PageProtectMem: 4109
  626.         *InsertBlock: =PaperConstraints
  627.         *Constraints: Duplex.VERTICAL
  628.         *Constraints: Duplex.HORIZONTAL
  629.         *switch: Orientation
  630.         {
  631.             *case: PORTRAIT
  632.             {
  633.                 *PrintableArea: PAIR(7746, 11410)
  634.                 *PrintableOrigin: PAIR(284, 200)
  635.                 *CursorOrigin: PAIR(284, 200)
  636.                 *Command: CmdSelect
  637.                 {
  638.                     *Order: DOC_SETUP.7
  639.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4648x6846Y"
  640.                 }
  641.             }
  642.             *case: LANDSCAPE_CC90
  643.             {
  644.                 *PrintableArea: PAIR(7914, 11338)
  645.                 *PrintableOrigin: PAIR(200, 236)
  646.                 *CursorOrigin: PAIR(200, 11574)
  647.                 *Command: CmdSelect
  648.                 {
  649.                     *Order: DOC_SETUP.7
  650.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6803x4748Y"
  651.                 }
  652.             }
  653.         }
  654.     }
  655.     *Option: CUSTOMSIZE
  656.     {
  657.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  658.         *MinSize: PAIR(3600,6000)
  659.         *MaxSize: PAIR(10200, 16800)
  660.         *MaxPrintableWidth: 10200
  661.         *MinLeftMargin: 100
  662.         *CenterPrintable?: FALSE
  663.         *PageProtectMem: 1692
  664.         *InsertBlock: =PaperConstraints
  665.         *Constraints: InputBin.ENVFEED
  666.         *switch: Orientation
  667.         {
  668.             *case: PORTRAIT
  669.             {
  670.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 300 }
  671.                 *CustCursorOriginY:   %d{200}
  672.                 *CustPrintableOriginX:  %d{300 }
  673.                 *CustPrintableOriginY:  %d{200}
  674.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  675.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 400 }
  676.                 *Command: CmdSelect
  677.                 {
  678.                     *Order: DOC_SETUP.7
  679.                     *Cmd: "<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  680.                 }
  681.             }
  682.             *case: LANDSCAPE_CC90
  683.             {
  684.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 200 }
  685.                 *CustCursorOriginY:   %d{16560 }
  686.                 *CustPrintableOriginX:  %d{200 }
  687.                 *CustPrintableOriginY:  %d{240}
  688.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  689.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  690.                 *Command: CmdSelect
  691.                 {
  692.                     *Order: DOC_SETUP.7
  693.                     *Cmd: "<1B>&l101a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  694.                 }
  695.             }
  696.         }
  697.     }
  698. }
  699.  
  700. *Feature: MediaType
  701. {
  702.     *rcNameID: =MEDIA_TYPE_DISPLAY
  703.     *DefaultOption: AutoSelect
  704.  
  705.     *Option: AutoSelect
  706.     {
  707.         *rcNameID: 271
  708.         *Command: CmdSelect
  709.         {
  710.             *Order: DOC_SETUP.6
  711.             *Cmd: ""
  712.         }
  713.     }
  714.     *Option: Plain
  715.     {
  716.         *rcNameID: 435
  717.         *Command: CmdSelect
  718.         {
  719.             *Order: DOC_SETUP.6
  720.             *Cmd: "<1B>&n6WdPlain"
  721.         }
  722.     }
  723.     *Option: Preprinted
  724.     {
  725.         *rcNameID: 436
  726.         *Command: CmdSelect
  727.         {
  728.             *Order: DOC_SETUP.6
  729.             *Cmd: "<1B>&n11WdPreprinted"
  730.         }
  731.     }
  732.     *Option: Letterhead
  733.     {
  734.         *rcNameID: 437
  735.         *Command: CmdSelect
  736.         {
  737.             *Order: DOC_SETUP.6
  738.             *Cmd: "<1B>&n11WdLetterhead"
  739.         }
  740.     }
  741.     *Option: Transparency
  742.     {
  743.         *rcNameID: =TRANSPARENCY_DISPLAY
  744.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  745.         *Command: CmdSelect
  746.         {
  747.             *Order: DOC_SETUP.6
  748.             *Cmd: "<1B>&n13WdTransparency"
  749.         }
  750.     }
  751.     *Option: Prepunched
  752.     {
  753.         *rcNameID: 438
  754.         *Command: CmdSelect
  755.         {
  756.             *Order: DOC_SETUP.6
  757.             *Cmd: "<1B>&n11WdPrepunched"
  758.         }
  759.     }
  760.     *Option: Labels
  761.     {
  762.         *rcNameID: 439
  763.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  764.         *Command: CmdSelect
  765.         {
  766.             *Order: DOC_SETUP.6
  767.             *Cmd: "<1B>&n7WdLabels"
  768.         }
  769.     }
  770.     *Option: Bond
  771.     {
  772.         *rcNameID: 269
  773.         *Command: CmdSelect
  774.         {
  775.             *Order: DOC_SETUP.6
  776.             *Cmd: "<1B>&n5WdBond"
  777.         }
  778.     }
  779.     *Option: Recycled
  780.     {
  781.         *rcNameID: 440
  782.         *Command: CmdSelect
  783.         {
  784.             *Order: DOC_SETUP.6
  785.             *Cmd: "<1B>&n9WdRecycled"
  786.         }
  787.     }
  788.     *Option: Color
  789.     {
  790.         *rcNameID: 441
  791.         *Command: CmdSelect
  792.         {
  793.             *Order: DOC_SETUP.6
  794.             *Cmd: "<1B>&n6WdColor"
  795.         }
  796.     }
  797.     *Option: CardStock
  798.     {
  799.         *rcNameID: 442
  800.         *Command: CmdSelect
  801.         {
  802.             *Order: DOC_SETUP.6
  803.             *Cmd: "<1B>&n11WdCard Stock"
  804.         }
  805.     }
  806.     *Option: Rough
  807.     {
  808.         *rcNameID: 495
  809.         *Command: CmdSelect
  810.         {
  811.             *Order: DOC_SETUP.6
  812.             *Cmd: "<1B>&n6WdRough"
  813.         }
  814.     }
  815. }
  816.  
  817. *Feature: Economode
  818. {
  819.     *rcNameID: 377
  820.     *HelpIndex: 12009
  821.     *DefaultOption: Option1
  822.     *Option: Option1
  823.     {
  824.         *rcNameID: 266
  825.         *Command: CmdSelect
  826.         {
  827.             *Order: JOB_SETUP.3
  828.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  829.         }
  830.     }
  831.     *Option: Option2
  832.     {
  833.         *rcNameID: 267
  834.         *Command: CmdSelect
  835.         {
  836.             *Order: JOB_SETUP.3
  837.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  838.         }
  839.     }
  840. }
  841.  
  842. *Feature: RET
  843. {
  844.     *rcNameID: 378
  845.     *HelpIndex: 12010
  846.     *DefaultOption: Option1
  847.     *Option: Option1
  848.     {
  849.         *rcNameID: 296
  850.         *Command: CmdSelect
  851.         {
  852.             *Order: JOB_SETUP.4
  853.             *Cmd: "@PJL SET RET=ON<0A>"
  854.         }
  855.     }
  856.     *Option: Option2
  857.     {
  858.         *rcNameID: 300
  859.         *Command: CmdSelect
  860.         {
  861.             *Order: JOB_SETUP.4
  862.             *Cmd: "@PJL SET RET=OFF<0A>"
  863.         }
  864.     }
  865. }
  866.  
  867. *Feature: Halftone
  868. {
  869.     *rcNameID: =HALFTONING_DISPLAY
  870.     *DefaultOption: HT_PATSIZE_AUTO
  871.     *Option: HT_PATSIZE_AUTO
  872.     {
  873.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  874.     }
  875.     *Option: HT_PATSIZE_6x6_M
  876.     {
  877.         *rcNameID: =HT_DITHER6X6_DISPLAY
  878.     }
  879.     *Option: HT_PATSIZE_8x8_M
  880.     {
  881.         *rcNameID: =HT_DITHER8X8_DISPLAY
  882.     }
  883. }
  884.  
  885. *Feature: Memory
  886. {
  887.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  888.     *HelpIndex: 12003
  889.     *DefaultOption: 4MB
  890.     *MemConfigMB: PAIR(4, 3)
  891.     *MemConfigMB: PAIR(8, 7)
  892.     *MemConfigMB: PAIR(12, 10)
  893.     *MemConfigMB: PAIR(16, 13)
  894.     *MemConfigMB: PAIR(20, 17)
  895.     *MemConfigMB: PAIR(24, 21)
  896.     *MemConfigMB: PAIR(28, 24)
  897.     *MemConfigMB: PAIR(32, 28)
  898.     *MemConfigMB: PAIR(36, 31)
  899.     *MemConfigMB: PAIR(40, 35)
  900.     *MemConfigMB: PAIR(44, 39)
  901.     *MemConfigMB: PAIR(48, 42)
  902.     *MemConfigMB: PAIR(52, 46)
  903.     *MemConfigMB: PAIR(56, 49)
  904.     *MemConfigMB: PAIR(60, 52)
  905.     *MemConfigMB: PAIR(68, 59)
  906.     *MemConfigMB: PAIR(72, 64)
  907.     *MemConfigMB: PAIR(76, 67)
  908.     *MemConfigMB: PAIR(84, 75)
  909.     *MemConfigMB: PAIR(100, 89)
  910. }
  911.  
  912. *Feature: Duplex
  913. {
  914.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  915.     *DefaultOption: NONE
  916.     *Option: NONE
  917.     {
  918.         *rcNameID: =NONE_DISPLAY
  919.         *Command: CmdSelect
  920.         {
  921.             *Order: DOC_SETUP.3
  922.             *Cmd: "<1B>&l0S"
  923.         }
  924.     }
  925.     *Option: VERTICAL
  926.     {
  927.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  928.         *Command: CmdSelect
  929.         {
  930.             *Order: DOC_SETUP.4
  931.             *Cmd: "<1B>&l1S"
  932.         }
  933.     }
  934.     *Option: HORIZONTAL
  935.     {
  936.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  937.         *Command: CmdSelect
  938.         {
  939.             *Order: DOC_SETUP.4
  940.             *Cmd: "<1B>&l2S"
  941.         }
  942.     }
  943. }
  944.  
  945. *Feature: PageProtect
  946. {
  947.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  948.     *DefaultOption: OFF
  949.     *Option: ON
  950.     {
  951.         *rcNameID: =ON_DISPLAY
  952.         *Command: CmdSelect
  953.         {
  954.             *Order: JOB_SETUP.2
  955.             *Cmd: "@PJL SET PAGEPROTECT=A4<0A>"
  956.         }
  957.     }
  958.     *Option: OFF
  959.     {
  960.         *rcNameID: =OFF_DISPLAY
  961.         *Command: CmdSelect
  962.         {
  963.             *Order: JOB_SETUP.2
  964.             *Cmd: "@PJL SET PAGEPROTECT=OFF<0A>"
  965.         }
  966.     }
  967. }
  968. *%-------------------------------------------------------------------------
  969. *% Job setup commands
  970. *%-------------------------------------------------------------------------
  971. *Command: CmdStartJob
  972. {
  973.     *Order: JOB_SETUP.1
  974.     *Cmd: "<1B>%%-12345X"
  975. +         "@PJL COMMENT HP LaserJet 4000 Series PCL<0A>"
  976. }
  977. *Command: CmdStartDoc
  978. {
  979.     *Order: DOC_SETUP.1
  980.     *Cmd: "<1B>&u600D<1B>*r0F"
  981. }
  982. *Command: CmdStartPage
  983. {
  984.     *Order: PAGE_SETUP.1
  985.     *Cmd: "<1B>*b0M<0D>"
  986. }
  987. *Command: CmdEndJob
  988. {
  989.     *Order: JOB_FINISH.1
  990.     *Cmd: "<1B>E<1B>%%-12345X"
  991. }
  992.  
  993. *% Only set number of copies if printer collation is not possible.
  994. *% This should mirror the setting of QTY (see *Feature: Collate).
  995. *% That is if QTY is set, copies should be 1 else NumOfCopies.
  996. *switch: Collate
  997. {
  998.     *case: OFF
  999.     {
  1000.         *Command: CmdCopies
  1001.         {
  1002.             *Order: DOC_SETUP.8
  1003.             *% Uncollated copies!  Set copy count to NumOfCopies
  1004.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1005.         }
  1006.     }
  1007.     *case: ON
  1008.     {
  1009.         *switch: PrinterHardDisk
  1010.         {
  1011.             *case: FALSE
  1012.             {
  1013.                 *Command: CmdCopies
  1014.                 {
  1015.                     *Order: DOC_SETUP.8
  1016.                     *% Collate requested but no disk => printer collate disabled
  1017.                     *% WordPad on Whistler does not handle single page documents correctly.  The
  1018.                     *% Printer hard disk switch ensures the user gets the requested copies.
  1019.                     *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1020.                 }
  1021.             }
  1022.             *case: TRUE
  1023.             {
  1024.                 *Command: CmdCopies
  1025.                 {
  1026.                     *Order: DOC_SETUP.8
  1027.                     *% Collate requested with disk => printer collate enabled
  1028.                     *% Printer will take care of collated copies
  1029.                     *Cmd: "<1B>&l1X"
  1030.                 }
  1031.             }
  1032.         }
  1033.     }
  1034. }
  1035.  
  1036. *RotateCoordinate?: TRUE
  1037. *RotateRaster?: TRUE
  1038. *RotateFont?: TRUE
  1039. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1040. *MemoryUsage: LIST(FONT)
  1041. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1042. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1043. *XMoveThreshold: 0
  1044. *YMoveThreshold: 0
  1045. *XMoveUnit: 600
  1046. *YMoveUnit: 600
  1047. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1048. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1049. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1050. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1051. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1052. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1053. *Command: CmdCR { *Cmd : "<0D>" }
  1054. *Command: CmdLF { *Cmd : "<0A>" }
  1055. *Command: CmdFF { *Cmd : "<0C>" }
  1056. *Command: CmdBackSpace { *Cmd : "<08>" }
  1057. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1058. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1059. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1060. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1061. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1062. *EjectPageWithFF?: TRUE
  1063. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1064. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1065. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1066. *OutputDataFormat: H_BYTE
  1067. *OptimizeLeftBound?: TRUE
  1068. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1069. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1070. *DefaultFont: RESDLL.FontRes.16
  1071. *DefaultCTT: 0
  1072. *CharPosition: BASELINE
  1073. *TTFSEnabled?: TRUE
  1074.  
  1075. *% TT metrics
  1076. *%   Removed all 4 symbol fonts because they weren't printing correctly.  They will be downloaded if client has
  1077. *%   the TT font installed.
  1078. *DeviceFonts: LIST(RESDLL.FontRes.1,RESDLL.FontRes.2,RESDLL.FontRes.3,RESDLL.FontRes.4,RESDLL.FontRes.5,
  1079. +           RESDLL.FontRes.6,RESDLL.FontRes.7,RESDLL.FontRes.8,RESDLL.FontRes.9,RESDLL.FontRes.10,
  1080. +           RESDLL.FontRes.11,RESDLL.FontRes.12,RESDLL.FontRes.13,RESDLL.FontRes.14,RESDLL.FontRes.15,
  1081. +           RESDLL.FontRes.16,RESDLL.FontRes.17,RESDLL.FontRes.18,RESDLL.FontRes.19,RESDLL.FontRes.20,
  1082. +           RESDLL.FontRes.21,RESDLL.FontRes.22,RESDLL.FontRes.23,RESDLL.FontRes.24,RESDLL.FontRes.25,
  1083. +           RESDLL.FontRes.26,RESDLL.FontRes.27,RESDLL.FontRes.28,RESDLL.FontRes.29,RESDLL.FontRes.30,
  1084. +           RESDLL.FontRes.31,RESDLL.FontRes.32,RESDLL.FontRes.33,RESDLL.FontRes.34,RESDLL.FontRes.35,
  1085. +           RESDLL.FontRes.36,RESDLL.FontRes.37,RESDLL.FontRes.38,RESDLL.FontRes.39,RESDLL.FontRes.40,
  1086. +           RESDLL.FontRes.41,RESDLL.FontRes.42,RESDLL.FontRes.43,RESDLL.FontRes.44,RESDLL.FontRes.45,
  1087. +           RESDLL.FontRes.46,RESDLL.FontRes.47,RESDLL.FontRes.49,RESDLL.FontRes.50,
  1088. +           RESDLL.FontRes.51,RESDLL.FontRes.52,RESDLL.FontRes.53,RESDLL.FontRes.54,RESDLL.FontRes.55,
  1089. +           RESDLL.FontRes.56,RESDLL.FontRes.57,RESDLL.FontRes.59,RESDLL.FontRes.60,
  1090. +           RESDLL.FontRes.61,RESDLL.FontRes.62,RESDLL.FontRes.63,RESDLL.FontRes.64,RESDLL.FontRes.65,
  1091. +           RESDLL.FontRes.66,RESDLL.FontRes.67,RESDLL.FontRes.68,RESDLL.FontRes.69,RESDLL.FontRes.70,
  1092. +           RESDLL.FontRes.71,RESDLL.FontRes.72,RESDLL.FontRes.73,RESDLL.FontRes.74,
  1093. +           RESDLL.FontRes.76,RESDLL.FontRes.77,RESDLL.FontRes.78,RESDLL.FontRes.79)
  1094.  
  1095.  
  1096. *% TT font Substituition table for our device fonts
  1097. *% Arial and TNR are substituted in ttfsub.gpd
  1098. *TTFS: AlbertusM
  1099. {
  1100.   *TTFontName: "Albertus Medium"
  1101.   *DevFontName: "Albertus Medium"
  1102. }
  1103. *TTFS: AlbertusX
  1104. {
  1105.   *TTFontName: "Albertus Extra Bold"
  1106.   *DevFontName: "Albertus Extra Bold"
  1107. }
  1108. *TTFS: AntiqueOlive
  1109. {
  1110.   *TTFontName: "Antique Olive"
  1111.   *DevFontName: "Antique Olive"
  1112. }
  1113. *TTFS: CGOmega
  1114. {
  1115.   *TTFontName: "CG Omega"
  1116.   *DevFontName: "CG Omega"
  1117. }
  1118. *TTFS: CGTimes
  1119. {
  1120.   *TTFontName: "CG Times"
  1121.   *DevFontName: "CG Times"
  1122. }
  1123. *TTFS: NewCenturySB
  1124. {
  1125.   *TTFontName: "New Century Schoolbook Roman"
  1126.   *DevFontName: "New Century Schoolbook"
  1127. }
  1128. *TTFS: ClarendonCD
  1129. {
  1130.   *TTFontName: "Clarendon Condensed Bold"
  1131.   *DevFontName: "Clarendon Condensed"
  1132. }
  1133. *TTFS: Coronet
  1134. {
  1135.   *TTFontName: "Coronet"
  1136.   *DevFontName: "Coronet"
  1137. }
  1138. *TTFS: CourierPS
  1139. {
  1140.   *TTFontName: "CourierPS"
  1141.   *DevFontName: "CourierPS"
  1142. }
  1143. *TTFS: Helvetica
  1144. {
  1145.   *TTFontName: "Helvetica"
  1146.   *DevFontName: "Helvetica"
  1147. }
  1148. *TTFS: HelveticaN
  1149. {
  1150.   *TTFontName: "Helvetica Narrow"
  1151.   *DevFontName: "Helvetica Narrow"
  1152. }
  1153. *TTFS: ITCAvantGardeGothicB
  1154. {
  1155.   *TTFontName: "ITC Avant Garde Gothic Book Oblique"
  1156.   *DevFontName: "ITC Avant Garde Gothic"
  1157. }
  1158. *TTFS: ITCAvantGardeGothicD
  1159. {
  1160.   *TTFontName: "ITC Avant Garde Gothic Demi"
  1161.   *DevFontName: "ITC Avant Garde Gothic Demi"
  1162. }
  1163. *TTFS: ITCBookmanDemi
  1164. {
  1165.   *TTFontName: "ITC Bookman Demi"
  1166.   *DevFontName: "ITC Bookman Demi"
  1167. }
  1168. *TTFS: ITCBookmanLight
  1169. {
  1170.   *TTFontName: "ITC Bookman Light"
  1171.   *DevFontName: "ITC Bookman Light"
  1172. }
  1173. *TTFS: ITCZapfChancery
  1174. {
  1175.   *TTFontName: "ITC Zapf Chancery Medium Italic"
  1176.   *DevFontName: "ITC Zapf Chancery"
  1177. }
  1178. *TTFS: LetterGothic
  1179. {
  1180.   *TTFontName: "Letter Gothic"
  1181.   *DevFontName: "Letter Gothic"
  1182. }
  1183. *TTFS: Marigold
  1184. {
  1185.   *TTFontName: "Marigold"
  1186.   *DevFontName: "Marigold"
  1187. }
  1188. *TTFS: Palatino
  1189. {
  1190.   *TTFontName: "Palatino Roman"
  1191.   *DevFontName: "Palatino"
  1192. }
  1193. *TTFS: Times
  1194. {
  1195.   *TTFontName: "Times Roman"
  1196.   *DevFontName: "Times"
  1197. }
  1198. *TTFS: Univers
  1199. {
  1200.   *TTFontName: "Univers Medium"
  1201.   *DevFontName: "Univers"
  1202. }
  1203. *TTFS: UniversCD
  1204. {
  1205.   *TTFontName: "Univers Condensed Medium"
  1206.   *DevFontName: "Univers Condensed"
  1207. }
  1208.  
  1209. *TTFS: CourierNew
  1210. {
  1211.   *TTFontName: "Courier New"
  1212.   *DevFontName: "Courier New"
  1213. }
  1214. *% These 4 fonts need to be substituted to match the name that applications use to select the font.  For
  1215. *% some reason the names are different.
  1216. *TTFS: ClarendonCD1
  1217. {
  1218.   *TTFontName: "Clarendon Condensed"
  1219.   *DevFontName: "Clarendon Condensed"
  1220. }
  1221. *TTFS: Times1
  1222. {
  1223.   *TTFontName: "Times"
  1224.   *DevFontName: "Times"
  1225. }
  1226. *TTFS: Univers1
  1227. {
  1228.   *TTFontName: "Univers"
  1229.   *DevFontName: "Univers"
  1230. }
  1231. *TTFS: UniversCD1
  1232. {
  1233.   *TTFontName: "Univers Condensed"
  1234.   *DevFontName: "Univers Condensed"
  1235. }
  1236.  
  1237. *FontCartridge: FC1
  1238. {
  1239.     *rcCartridgeNameID: 322
  1240.     *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  1241. }
  1242. *FontCartridge: FC2
  1243. {
  1244.     *rcCartridgeNameID: 323
  1245.     *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  1246. +                   75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  1247. +                   91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  1248. }
  1249. *FontCartridge: FC3
  1250. {
  1251.     *rcCartridgeNameID: 324
  1252.     *Fonts: LIST(31,32,33,34,35,36)
  1253. }
  1254. *FontCartridge: FC4
  1255. {
  1256.     *rcCartridgeNameID: 325
  1257.     *Fonts: LIST(37,38,39,40,41,42,43)
  1258. }
  1259. *FontCartridge: FC5
  1260. {
  1261.     *rcCartridgeNameID: 326
  1262.     *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  1263. }
  1264. *FontCartridge: FC6
  1265. {
  1266.     *rcCartridgeNameID: 327
  1267.     *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  1268. +                   144,145)
  1269. }
  1270. *FontCartridge: FC7
  1271. {
  1272.     *rcCartridgeNameID: 328
  1273.     *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,62,63,64)
  1274. }
  1275. *FontCartridge: FC8
  1276. {
  1277.     *rcCartridgeNameID: 329
  1278.     *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  1279. }
  1280. *FontCartridge: FC9
  1281. {
  1282.     *rcCartridgeNameID: 330
  1283.     *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  1284. }
  1285. *FontCartridge: FC10
  1286. {
  1287.     *rcCartridgeNameID: 331
  1288.     *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  1289. +                   247,248)
  1290. }
  1291. *FontCartridge: FC11
  1292. {
  1293.     *rcCartridgeNameID: 332
  1294.     *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  1295. +                   170,171,172,173,174,175,176,177,178,179,180,181,182)
  1296. }
  1297. *FontCartridge: FC12
  1298. {
  1299.     *rcCartridgeNameID: 333
  1300.     *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  1301. +                   199,200,201,202,203,204,205,206,207,208)
  1302. }
  1303. *MinFontID: 16534
  1304. *MaxFontID: 32768
  1305. *switch: Resolution
  1306. {
  1307.     *case: Option1
  1308.     {
  1309.         *FontFormat: HPPCL_OUTLINE
  1310.     }
  1311.     *case: Option2
  1312.     {
  1313.         *FontFormat: HPPCL_RES
  1314.     }
  1315. }
  1316. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1317. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1318. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1319. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1320. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1321. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  1322. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  1323. *MinGrayFill: 1
  1324. *MaxGrayFill: 100
  1325. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1326. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1327. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1328. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1329. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1330. *Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
  1331. *Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
  1332.